<ul class="nav nav-secondary" ng-model="stuid">
	<li ><a href="#/students/{{stuid}}">基本信息</a></li>
 	<li class="active"><a href="#/students/{{stuid}}/students_classmanage">班级管理</a></li>
 	<li ><a href="#/students/{{stuid}}/students_pay">缴费信息</a></li>
 	<li ><a href="#/students/{{stuid}}/students_classrecord">上课记录</a></li>
	<li ><a href="#/students/{{stuid}}/students_matchrecord">比赛记录</a></li>
</ul>

<table class="table">
    <thead>
	    <tr>
	    	<th>序号</th>
	    	<th>所在班级</th>
	    	<th>入班时间</th>
	    	<th>离班时间</th>
	    	<th>任课老师</th>
	    	<th>实际课时</th>
	    	<th>总共课时</th>
	    	<th>课时学费</th>
	    	<th>总共学费</th>
	    	<th>操作</th>
	    </tr>
  	</thead>
  	<tbody>
	    <tr ng-repeat="student in students ">
	    	<td>{{$index+1}}</td>			    	
	    	<td>{{student.classes_school}}{{student.classes_name}}</td>
	    	<td>{{student.enter_time}}</td>
	    	<td>{{student.leave_time}}</td>
	    	<td >{{student.teacher_name}}</td>
	    	<td>{{student.real_lesson_num}}</td>
	    	<td>{{student.total_lesson_num}}</td>
	    	<td>{{student.lesson_tuition}}</td>
	    	<td>{{student.tuition}}</td>
	    	<td>
	    		<button ng-click="delete(student)" class="icon-trash btn " style="color:#d2322d"></button>
	    	</td>
	    
	    </tr>
  	</tbody>
</table>
<div id="open" class="form-group pull-right" style="margin-top:50px; display:none;">
	<div id="copyBox">
		<div class="col-md-10"><select  id="sclass" class="form-control " ng-model="m"  ng-options="m.id as (m.school_name+m.name+m.tuition+m.lesson_num) for m in model" ></select></div>
		<div class="col-md-2"><button  ng-click="open(m)" class="btn btn-primary ">开班</button></div>
	</div>   	
</div> 

<div id="change" class="form-group pull-right" style="margin-top:50px; display:none;">
	<div id="copyBox">
		<div class="col-md-8"><select  id="sclass" class="form-control " ng-model="m"  ng-options="m.id as (m.school_name+m.name+m.tuition+m.lesson_num) for m in model" ></select></div>
		<div class="col-md-2"><button ng-click="open(m)"class="btn btn-primary ">升班</button></div>
		<div class="col-md-2"><button ng-click="out()" class="btn btn-default">退学</button></div>
		</div>
	</div>   	
</div> 

